package routers

import (
	"newAi/new_web/controllers"
	"github.com/astaxie/beego"
)

func init() {
	// 默认登录
	beego.Router("/", &controllers.HomeController{}, "*:Index")
	beego.Router("/home", &controllers.HomeController{}, "*:Index")
	beego.Router("/login", &controllers.LoginController{}, "*:LoginIn")


	beego.AutoRouter(&controllers.HomeController{})
	beego.AutoRouter(&controllers.ProcessController{})
	beego.AutoRouter(&controllers.ReportController{})
	beego.AutoRouter(&controllers.TplController{})
	beego.AutoRouter(&controllers.FlowCdrController{})
	beego.AutoRouter(&controllers.ParamRecordController{})
	beego.AutoRouter(&controllers.SeatController{})
	beego.AutoRouter(&controllers.SeatTaskController{})
	beego.AutoRouter(&controllers.ApiController{})
	beego.AutoRouter(&controllers.ApiDocController{})
	beego.AutoRouter(&controllers.ApiMonitorController{})
	beego.AutoRouter(&controllers.EnvController{})
	beego.AutoRouter(&controllers.CodeController{})
	beego.AutoRouter(&controllers.ServersController{})
	beego.AutoRouter(&controllers.RouteController{})

	beego.AutoRouter(&controllers.CdrController{})
	beego.AutoRouter(&controllers.GroupController{})
	beego.AutoRouter(&controllers.AuthController{})
	beego.AutoRouter(&controllers.RoleController{})
	beego.AutoRouter(&controllers.AdminController{})
	beego.AutoRouter(&controllers.UserController{})
	beego.AutoRouter(&controllers.TaskController{})
	beego.AutoRouter(&controllers.NumberController{})
	beego.AutoRouter(&controllers.GateWayController{})
	beego.AutoRouter(&controllers.GatewayGroupController{})



}
